package com.imooc.pojo.vo;

public class SubCategoryVO {

    private Integer subId;

    private String subName;

    private String subType;

    private Integer subFatherId;

    public Integer getSubId() {
        return subId;
    }

    public void setSubId(Integer subId) {
        this.subId = subId;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getSubType() {
        return subType;
    }

    public void setSubType(String subType) {
        this.subType = subType;
    }

    public Integer getSubFatherId() {
        return subFatherId;
    }

    public void setSubFatherId(Integer subFatherId) {
        this.subFatherId = subFatherId;
    }


    //    SELECT f.id        AS id,
//    f.name      AS name,
//    f.type      AS type,
//    f.father_id AS fatherId,
//    c.id        AS subId,
//    c.name      AS subName,
//    c.type      AS subType,
//    c.father_id AS subFatherId
//    FROM category f
//    LEFT JOIN category c ON f.id = c.father_id
//    WHERE f.father_id = #{rootCatId}


}
